Conditions | 2 |
Total Lines | 14 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import React from 'react'; |
||
36 | |||
37 | render() { |
||
38 | return ( |
||
39 | <FormGroup validationState={this.state.validation} {...this.props}> |
||
40 | <ControlLabel> |
||
41 | {this.props.label} {this.props.required ? <sup>✱</sup> : ''} |
||
42 | </ControlLabel> |
||
43 | <div className="form-control-wrap"> |
||
44 | {this.props.children} |
||
45 | </div> |
||
46 | <div className="form-control-feedback"> |
||
47 | {this.state.feedback} |
||
48 | </div> |
||
49 | </FormGroup> |
||
50 | ); |
||
73 |